import ajax from "@/utils/request";

// 获取分类1的列表
export const reqCategory1List = () => ajax.get("/admin/product/getCategory1");
// 获取分类2的列表
export const reqCategory2List = (category1Id) =>
  ajax.get(`/admin/product/getCategory2/${category1Id}`);
// 获取分类3的列表
export const reqCategory3List = (category2Id) =>
  ajax.get(`/admin/product/getCategory3/${category2Id}`);
